#
# Be sure to run `pod lib lint ECT_Base.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
    s.name         = "ECT_Base"
    s.version      = "0.0.24"
    s.summary      = "ECT 基础框架"

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
ECT 基础模块，主要是swift,部分OC
                       DESC
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.homepage         = 'https://gitee.com/tanpengsccd/ECT_Base.git'
  # s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'tanpengsccd' => 'tanpegncd@gmail.com' }
  s.source           = { :git => 'https://gitee.com/tanpengsccd/ECT_Base.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.platform     = :ios , '9.0'
  s.ios.deployment_target = '9.0'
  s.requires_arc = true
  s.swift_version   = '4.0.3'
  s.source_files    = 'ECT_Base/**/*.{swift,h,m}'
  s.resources       = 'ECT_Base/**/*.{png,jpg,gif,xib,storyboard}'

  # s.resource_bundles = {
  #   'ECT_Base' => ['ECT_Base/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  s.xcconfig = {
      #"GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) DEBUG=1'
      'SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Debug]' => 'DEBUG',
      'SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Release]' => 'RELEASE',
      'SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Alpha]' => 'ALPHA',
      'SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Enterprise]' => 'ENTERPRISE'
  }
  s.dependency 'SnapKit' , '~>4'
  s.dependency 'swiftScan'
  s.dependency 'HandyJSON' , '~> 4'
  s.dependency 'Moya' , '~>11'
  s.dependency 'IQKeyboardManagerSwift'
  s.dependency 'Kingfisher'
  
end
